package org.itboys.mobile.entity.mysql.income;

import org.itboys.mongodb.entity.BaseMySqlEntity;

import java.math.BigDecimal;

/**
 * 作者：zzq
 * 时间：2017/12/25
 * 描述：迈迪龙_提现记录
 */
public class MdlIncomeCashed extends BaseMySqlEntity{
    private BigDecimal applyAmount;//提现金额
    private BigDecimal ableAmount;//用户当前可提现金额
    private Long memberId; //提现申请人id
    private String name;//
    private String account;//
    private String bank;//提现人
    private Integer status;//提现申请状态 1已申请2已通过3已驳回
    private String payNo;//付款流水号。处理提现时填写
    private String remark; //提现备注。

    public MdlIncomeCashed() {
    }

    public BigDecimal getApplyAmount() {
        return applyAmount;
    }

    public void setApplyAmount(BigDecimal applyAmount) {
        this.applyAmount = applyAmount;
    }

    public BigDecimal getAbleAmount() {
        return ableAmount;
    }

    public void setAbleAmount(BigDecimal ableAmount) {
        this.ableAmount = ableAmount;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getBank() {
        return bank;
    }

    public void setBank(String bank) {
        this.bank = bank;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getPayNo() {
        return payNo;
    }

    public void setPayNo(String payNo) {
        this.payNo = payNo;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getStatusStr(){
        String str="";
        switch (status) {
            case 1:
                str="已申请";
                break;
            case 2:
                str="已通过";
                break;
            case 3:
                str="已拒绝";
                break;
            default:
                break;
        }
        return str;
    }
}
